package com.itcv.spring.security.demo.service.impl;

import com.itcv.spring.security.demo.dao.UserDao;
import com.itcv.spring.security.demo.model.User;
import com.itcv.spring.security.demo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;
    @Override
    public List<User> getUserListByParam(User user) throws Exception {
        return userDao.getUserListByParam(user);
    }
}
